package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 咨询回复对象 consult
 * 
 * @author liwenjing
 * @date 2021-05-16
 */
public class Consult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String type;

    /** 提问者 */
    @Excel(name = "提问者")
    private String customerName;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String question;

    /** 回复 */
    @Excel(name = "回复")
    private String reply;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String tel;

    /** 回复状态 */
    @Excel(name = "回复状态")
    private String status;

    /** $column.columnComment */
    @Excel(name = "回复状态")
    private Long parentId;

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    private String createBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }
    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("customerName", getCustomerName())
            .append("question", getQuestion())
            .append("reply", getReply())
            .append("tel", getTel())
            .append("status", getStatus())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .toString();
    }
}
